﻿using System;

namespace HomeWork3
{
    class Program
    {
        static void Main(string[] args)
        {
            int n, i;
            Boolean[] array = new Boolean[201];
            for(i = 0; i < 201; i++)
                array[i] = true;
            for(i = 2; i <= 200; i++)
            {
                if(array[i])
                {
                    for(int j = i * 2; j <= 200; j += i)
                        array[j] = false; 
                }
            }
            for(i = 2; i < 200; i++)
            {
                if (array[i])
                    Console.WriteLine(i.ToString() + " ");
                   
            }

        }
    }
}